<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }
    .container {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
      max-width: 1000px;
      width: 100%;
      text-align: center;
    }
    .logo {
      text-align: center;
      margin-bottom: 20px;
    }
    .logo img {
      max-width: 1000px;
      height: auto;
    }
    input {
      width: 90%;
      padding: 10px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .form-row {
      display: flex;
      justify-content: space-between;
    }
    button {
      background-color: #333;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    button:hover {
      background-color: #555;
    }
  </style>
  <title>添加学生</title>
</head>
<body>
  <div class="container">
    <div class="logo">
      <img src="/jx.png" alt="Logo">
    </div>
    <h1>添加学生</h1>
    <form action="/cgi-bin/doAddStu.sh" method="get">
      <div class="form-row">
        <label for="classId">班级号</label>
        <input type="text" id="classId" name="classId" required>
      </div>
      <div class="form-row">
        <label for="name">学生姓名</label>
        <input type="text" id="name" name="name" required>
      </div>
      <div class="form-row">
        <label for="age">年龄</label>
        <input type="number" id="age" name="age" required>
      </div>
      <button type="submit">提交</button>
    </form>
  </div>
</body>
</html>

